package com.cbh.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(Include.NON_NULL)
@ApiModel(value = "Option", description = "选项")
public class Option {
	@ApiModelProperty(value = "显示")
	private String text;
	@ApiModelProperty(value = "传值")
	private String value;

	public Option def(String text, String value) {
		this.text = text;
		this.value = value;
		return this;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
